PWM capture
RC input or PWM input configuration.
info
- RC input - only one channel on one input. Multiple channels, sbus, ..., are not supported.
- If you do not see these variables in your FW. PWM capture is disabled in your FW
- Input duty cycle range is from 10[us] - 10 000[us]
- Reading resolution is approx +-10[us]
info
All here listed variables are located in folder /common
.
States
pwm_ch1
[us]
pwm_ch2
[us]
Input readings of pwm inputs. If pwm is not present, last value is shown. Checking for loosed signal is done in PWM Signal Conditioner. This is just reading the input.
Pwm chanel is not coresponding to pin names. Check device HW manual or read state description.
info
Example, AX controller, state description:
-> pwm_ch1 uint16 : [us] raw pwm signal on DIN4
pwm_ch1 input is present on DIN4 on AX controller.
tip
If you see wrong values, try to invert the reading of the signal using the ppmconf
Parameters
ppmconf
pwm capture input configuration
Value | Description |
---|---|
0 | default |
255 | inverted signal |